package com.bootlever.framework.core.properties.monitor;

public class DruidMonitor {

    private static final String DEFAULT_ALLOW = "127.0.0.1";
    private static final String DEFAULT_DENY = "";
    private static final String DEFAULT_USERNAME = "druid";
    private static final String DEFAULT_PASSWORD = "";
    private static final boolean DEFAULT_RESETENABLE = false;

    private String allow = DEFAULT_ALLOW;//白名单
    private String deny = DEFAULT_DENY;//黑名单
    private String username = DEFAULT_USERNAME;//登录用户名
    private String password = DEFAULT_PASSWORD;//登录密码
    private Boolean resetEnable = DEFAULT_RESETENABLE;//是否可以重置数据

    public String getAllow() {
        return allow;
    }

    public void setAllow(String allow) {
        this.allow = allow;
    }

    public String getDeny() {
        return deny;
    }

    public void setDeny(String deny) {
        this.deny = deny;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Boolean getResetEnable() {
        return resetEnable;
    }

    public void setResetEnable(Boolean resetEnable) {
        this.resetEnable = resetEnable;
    }
}
